<!doctype html>
<html class="x-admin-sm">
<head>
	<meta charset="UTF-8">
	<title>电子学会比赛管理系统</title>
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi"/>
	<meta http-equiv="Cache-Control" content="no-siteapp"/>
	<link rel="stylesheet" href="./css/font.css">
	<link rel="stylesheet" href="./css/xadmin.css">
	<style>
		[v-cloak] {
			display: none;
		}
	</style>
	<!-- <link rel="stylesheet" href="./css/theme5.css"> -->
	<script src="./js/vue.min.js"></script>
	<script type="text/javascript" src="./js/abkj/slAjax.js"></script>
	<script type="text/javascript" src="./js/abkj/ext/menu.js"></script>
	<script type="text/javascript" src="./js/abkj/fun_tool.js"></script>

	<script src="./lib/layui/layui.js" charset="utf-8"></script>
	<script type="text/javascript" src="./js/xadmin.js"></script>
	<!-- 让IE8/9支持媒体查询，从而兼容栅格 -->
	<!--[if lt IE 9]>
	<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
	<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
	<![endif]-->
	<script>
		// 是否开启刷新记忆tab功能
		// var is_remember = false;
	</script>
</head>
<body class="index">
<!-- 顶部开始 -->
<div class="container">
	<div class="logo">
		<a href="./index.html">电子学会比赛管理系统</a></div>
	<div class="left_open">
		<a><i title="展开左侧栏" class="iconfont">&#xe699;</i></a>
	</div>
	<ul class="layui-nav right" lay-filter="">
		<li class="layui-nav-item">
			<a href="javascript:;">admin</a>
			<dl class="layui-nav-child">
				<!-- 二级菜单 -->
				<dd>
					<a href="./login.html">退出</a></dd>
			</dl>
		</li>
		<li class="layui-nav-item to-index">
			<a href="/http://47.114.219.249/manager/web/index.html">前台首页</a></li>
	</ul>
</div>
<!-- 顶部结束 -->
<!-- 中部开始 -->
<!-- 左侧菜单开始 -->
<div class="left-nav">
	<div id="side-nav" v-cloak>
		<ul id="nav">
			<li v-for="menu in menulist">
				<a href="javascript:;">
					<i class="iconfont left-nav-li" :lay-tips="menu.parent.name" v-html='menu.parent.img'></i>
					<cite>{{menu.parent.name}}</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li v-for="submenu in menu.child">
						<a id="order" v-on:click="opentab(submenu.name,submenu.url)">
							<i class="iconfont" v-html="submenu.img"></i>
							<cite>{{submenu.name}}</cite></a>
					</li>
				</ul>
			</li>
		</ul>
		<!-- <ul id="nav">
			<li>
				<a href="javascript:;">
					<i class="iconfont left-nav-li" lay-tips="其它页面">&#xe6b4;</i>
					<cite>比赛管理</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li>
						<a id="order" onclick="xadmin.add_tab('报名管理','order-list.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>报名管理</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('在线答题成绩','onlineAnswerScores.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>在线答题成绩</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('作品提交作品','worksSubmitWorks.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>作品提交作品</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('编程作品','programmingWorks.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>编程作品</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('作品评审','workReview.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>作品评审</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('成绩管理','gradeManagement.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>成绩管理</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('晋级管理','promotionManagement.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>晋级管理</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('申诉管理','grievanceManagement.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>申诉管理</cite></a>
					</li>
				</ul>
			</li>

			<li>
				<a href="javascript:;">
					<i class="iconfont">&#xe70b;</i>
					<cite>赛项管理</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li>
						<a onclick="xadmin.add_tab('赛项管理','projectManagement.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>赛项管理</cite></a>
					</li>
				</ul>
			</li>

			<li>
				<a href="javascript:;">
					<i class="iconfont">&#xe70b;</i>
					<cite>网站配置</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li>
						<a onclick="xadmin.add_tab('轮播图','carousel.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>轮播图</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('信息配置','informationConfiguration.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>信息配置</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('赛区展示','division.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>赛区展示</cite></a>
					</li>
				</ul>
			</li>
			<li>
				<a href="javascript:;">
					<i class="iconfont left-nav-li" lay-tips="用户管理">&#xe723;</i>
					<cite>用户管理</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li>
						<a onclick="xadmin.add_tab('参赛选手','contestants.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>参赛选手</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('指导教师','instructor.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>指导教师</cite></a>
					</li>
				</ul>
			</li>
			<li>
				<a href="javascript:;">
					<i class="iconfont left-nav-li" lay-tips="系统管理">&#xe723;</i>
					<cite>系统管理</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li>
						<a onclick="xadmin.add_tab('账号管理','accountManagement.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>账号管理</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('裁判管理','refereeManagement.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>裁判管理</cite></a>
					</li>
				</ul>
			</li>
			<li>
				<a href="javascript:;">
					<i class="iconfont">&#xe70b;</i>
					<cite>咨询管理</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li>
						<a onclick="xadmin.add_tab('咨询管理','consultingManagement.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>咨询管理</cite></a>
					</li>
				</ul>
			</li>
			<li>
				<a href="javascript:;">
					<i class="iconfont">&#xe70b;</i>
					<cite>裁判系统</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li>
						<a onclick="xadmin.add_tab('评分管理','scoringManagement.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>评分管理</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('申诉管理','grievanceManagementBout.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>申诉管理</cite></a>
					</li>
				</ul>
			</li>
			<li>
				<a href="javascript:;">
					<i class="iconfont">&#xe70b;</i>
					<cite>裁判长系统</cite>
					<i class="iconfont nav_right">&#xe697;</i></a>
				<ul class="sub-menu">
					<li>
						<a onclick="xadmin.add_tab('成绩管理','gradeManagementBout.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>成绩管理</cite></a>
					</li>
					<li>
						<a onclick="xadmin.add_tab('申诉管理','grievanceManagementBoutHead.html')">
							<i class="iconfont">&#xe6a7;</i>
							<cite>申诉管理</cite></a>
					</li>
				</ul>
			</li>
		</ul> -->
	</div>
</div>
<!-- <div class="x-slide_left"></div> -->
<!-- 左侧菜单结束 -->
<!-- 右侧主体开始 -->
<div class="page-content">
	<div class="layui-tab tab" lay-filter="xbs_tab" lay-allowclose="false">
		<ul class="layui-tab-title">
			<li class="home" style="display: none ;">
				<i class="layui-icon">&#xe68e;</i>我的桌面
			</li>
		</ul>
		<div class="layui-unselect layui-form-select layui-form-selected" id="tab_right">
			<dl>
				<dd data-type="this">关闭当前</dd>
				<dd data-type="other">关闭其它</dd>
				<dd data-type="all">关闭全部</dd>
			</dl>
		</div>
		<div class="layui-tab-content">
			<div class="layui-tab-item layui-show">
				<iframe style="display: none;" src='./welcome.html' frameborder="0" scrolling="yes" class="x-iframe"></iframe>
			</div>
		</div>
		<div id="tab_show"></div>
	</div>
</div>
<div class="page-content-bg"></div>
<style id="theme_style"></style>
<script src="./js/vue.js"></script>
<script src="./js/jquery.min.js"></script>
<script>
var app=new Vue({
	  el: '#side-nav',
	  data: {
	    menulist:[]
	  },
		methods:{
			opentab:function(name,url){
				//单击事件
				xadmin.add_tab(name,url)
			},
			init:function(){
				var funTool = fun_tool();

				var userInfo = funTool.getUserInfo();

				var varData = this._data;
				adminMenu(funTool.getString("roleId"),function(data){
					app.menulist=data;
				},function(status,message){
					alert(message);
				})
			}
		},

	})
	window.onload=function(){
		   app.init()
		if (localStorage.tab_list.length === 2) {
			setTimeout(function () {
				$('#order').trigger('click')
			}, 300)
		}
	}
</script>
<!-- 右侧主体结束 -->
<!-- 中部结束 -->
<script>//百度统计可去掉
var _hmt = _hmt || [];
(function () {
	var hm = document.createElement("script")
	hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190"
	var s = document.getElementsByTagName("script")[0]
	s.parentNode.insertBefore(hm, s)
})()</script>
</body>

</html>
